// vite.config.ts
import { defineConfig } from "file:///C:/Users/%E5%BC%A0%E6%96%87%E5%8D%9A/Desktop/%E5%BC%A0%E6%96%87%E5%8D%9A%E6%9C%88%E8%80%83%E6%9C%80%E5%90%8E%E7%9A%84%E5%80%94%E5%BC%BA/vite-project/node_modules/vite/dist/node/index.js";
import react from "file:///C:/Users/%E5%BC%A0%E6%96%87%E5%8D%9A/Desktop/%E5%BC%A0%E6%96%87%E5%8D%9A%E6%9C%88%E8%80%83%E6%9C%80%E5%90%8E%E7%9A%84%E5%80%94%E5%BC%BA/vite-project/node_modules/@vitejs/plugin-react/dist/index.js";
import tailwindcss from "file:///C:/Users/%E5%BC%A0%E6%96%87%E5%8D%9A/Desktop/%E5%BC%A0%E6%96%87%E5%8D%9A%E6%9C%88%E8%80%83%E6%9C%80%E5%90%8E%E7%9A%84%E5%80%94%E5%BC%BA/vite-project/node_modules/@tailwindcss/vite/dist/index.mjs";
var ts = Date.now();
var vite_config_default = defineConfig({
  plugins: [tailwindcss(), react()],
  resolve: {
    alias: {
      "@": "src"
    }
  },
  server: {
    proxy: {
      "/api": {
        target: "http://172.27.2.110",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      },
      "/youdao": {
        target: "https://openapi.youdao.com",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/youdao/, "")
      }
    }
  },
  build: {
    outDir: "viteBuild",
    copyPublicDir: true,
    rollupOptions: {
      output: {
        entryFileNames: `[js/[name]-[hash]-${ts}.js]`,
        chunkFileNames: `[js/[name]-[hash]-${ts}.js]`,
        assetFileNames: `[ext/[name]-[hash]-${ts}.[ext]]`
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOl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